<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <script src="./js/vue.js"></script>
    <title>Document</title>
</head>

<body>
    <div id="app">
        <p v-html="str"></p>

    </div>
    <script>
        const app = new Vue({
            el: "#app",
            data: {
                str: '你是个大<strong>sb</strong>'
            }
        })
    </script>
</body>

</html>